﻿namespace SupermarketSystem.MSSQLModels
{
    using System;
    using System.Collections.Generic;

    public class Report
    {
        private ICollection<ReportEntry> entries;

        public Report()
        {
            this.entries = new HashSet<ReportEntry>();
        }

        public int ReportID { get; set; }

        public DateTime ReportDate { get; set; }

        public int StoreID { get; set; }
        public virtual Store Store { get; set; }

        public virtual ICollection<ReportEntry> Entries
        {
            get
            {
                return this.entries;    
            }

            set
            {
                this.entries = value;
            }
        }
    }
}
